package com.kaifamiao.N0805;


interface A1 {
    void show();
}

//命名类B1
class B1 implements A1 {

    @Override
    public void show() {
        System.out.println("我是命名类B的show()方法");
    }

}

public class Node2 {
    public static void main(String[] args) {
        A1 a1 = new B1();
        a1.show();

    }

}


